/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package javamu;

/**
 *
 * @author Administrator
 */
public class BaseClass {
	public BaseClass(){
		System.out.println("基类构造");
	}
	
	protected void say(){
		System.out.println("大家都可以说话！");
	}
	
	public void sayTo(String somebody){
		System.out.println("我跟" + somebody + "在说话");
	}
}
